#include <iostream>
#include <string>
using namespace std;

char trans(char s){
    if(s>='a'&&s<='z'){
        s-= 32;
    }
    else if(s>='A'&&s<='Z'){
        s+= 32;
    }
return s;
}

int  transnum(char s){
    if(s>='a'&&s<='z'){
        return s - 'a'+1;
    }
    else if(s>='A'&&s<='Z'){
        return s - 'A'+1;
    }
    return s;

}


int main() {

    string s = "abcd";
    string s2 = "abcd";


 for(int i =0;i<s.length();i++) {
     s[i] = trans(s[i]);

    int num = transnum(s2[i]);
    cout<<num;
 }


    cout<<s<<endl;

}
// 64 位输出请用 printf("%lld")